From 2d30e310bc606fb59b234cd99513e55cc20eccc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 9 Apr 2019 18:26:19 -0500 Subject: [PATCH] workspaceSwitcherPopup: Remove this.actor definition to self Remove this.actor = actor, since the class is now an actor itself. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487 --- js/ui/workspaceSwitcherPopup.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js index 26404eaab..648bc63fb 100644 --- a/js/ui/workspaceSwitcherPopup.js +++ b/js/ui/workspaceSwitcherPopup.js @@ -85,8 +85,6 @@ class WorkspaceSwitcherPopup extends St.Widget { height: global.screen_height, style_class: 'workspace-switcher-group' }); - this.actor = this; - Main.uiGroup.add_actor(this); this._timeoutId = 0; @@ -142,7 +140,7 @@ class WorkspaceSwitcherPopup extends St.Widget { time: ANIMATION_TIME, transition: 'easeOutQuad' }); - this.actor.show(); + this.show(); } display(direction, activeWorkspaceIndex) { -- 2.39.5